package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 资料管理--病害实体类
 */
@TableName("t_worm")
public class WormBean {
    @TableId(value = "pk_wormId",type = IdType.AUTO)
    private int wormId;
    /*** 病害名称 */
    @TableField("f_wormName")
    private String wormName;
    /*** 主要危害 */
    @TableField("f_wormHarm")
    private String wormHarm;
    /*** 发病规律 */
    @TableField("f_wormLaw")
    private String wormLaw;
    /*** 病原 */
    @TableField("f_wormPath")
    private String wormPath;
    /*** 发病症状 */
    @TableField("f_wormSp")
    private String wormSp;
    /*** 病害图片 */
    @TableField("f_wormImg")
    private String wormImg;
    /*** 防治措施 */
    @TableField("f_wormControl")
    private String wormControl;

    public WormBean() {
    }

    public WormBean(String wormName, String wormHarm, String wormLaw, String wormPath, String wormSp, String wormImg, String wormControl) {
        this.wormName = wormName;
        this.wormHarm = wormHarm;
        this.wormLaw = wormLaw;
        this.wormPath = wormPath;
        this.wormSp = wormSp;
        this.wormImg = wormImg;
        this.wormControl = wormControl;
    }

    public int getWormId() {
        return wormId;
    }

    public void setWormId(int wormId) {
        this.wormId = wormId;
    }

    public String getWormName() {
        return wormName;
    }

    public void setWormName(String wormName) {
        this.wormName = wormName;
    }

    public String getWormHarm() {
        return wormHarm;
    }

    public void setWormHarm(String wormHarm) {
        this.wormHarm = wormHarm;
    }

    public String getWormLaw() {
        return wormLaw;
    }

    public void setWormLaw(String wormLaw) {
        this.wormLaw = wormLaw;
    }

    public String getWormPath() {
        return wormPath;
    }

    public void setWormPath(String wormPath) {
        this.wormPath = wormPath;
    }

    public String getWormSp() {
        return wormSp;
    }

    public void setWormSp(String wormSp) {
        this.wormSp = wormSp;
    }

    public String getWormImg() {
        return wormImg;
    }

    public void setWormImg(String wormImg) {
        this.wormImg = wormImg;
    }

    public String getWormControl() {
        return wormControl;
    }

    public void setWormControl(String wormControl) {
        this.wormControl = wormControl;
    }

    @Override
    public String toString() {
        return "WormBean{" +
                "wormId=" + wormId +
                ", wormName='" + wormName + '\'' +
                ", wormHarm='" + wormHarm + '\'' +
                ", wormLaw='" + wormLaw + '\'' +
                ", wormPath='" + wormPath + '\'' +
                ", wormSp='" + wormSp + '\'' +
                ", wormImg='" + wormImg + '\'' +
                ", wormControl='" + wormControl + '\'' +
                '}';
    }
}
